﻿using ZFY.Blog.Api.Model.Dto.ArticleDto;
using ZFY.Blog.Api.Model.Model;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ZFY.Blog.Api.IServices
{
    public interface IArticleServices 
    {
        Task<List<GetArticleListOutput>> GetArticlePageListAsync(GetArticleInput input);
        Task CreateArticleAsync(CreateArticleInput input);
        Task<GetArticleOutput> GetArticleAsync(int? id);
        Task DeleteArticle(int id);
        Task UpdateArticle(UpdateArticleInput input);
 
    }
}
